package org.zfes.snowier.cloud.zbss.cms.content.service;

import java.util.Map;
import java.util.Optional;
import org.zfes.snowier.core.data.DataSet;
import org.zfes.snowier.cloud.zbss.cms.content.model.CmsContentCharge;
public interface ICmsContentChargeService{

	 Optional<CmsContentCharge> loadCmsContentChargeById(Long id);
	 
	 Optional<CmsContentCharge> loadCmsContentChargeByContentId(Long contentId);
	
	 void createCmsContentCharge(CmsContentCharge cmsContentCharge);
	
	 void updateCmsContentCharge(CmsContentCharge cmsContentCharge);

	 void deleteCmsContentCharge(Long id);
	
	 DataSet loadCmsContentChargeDataSet(Map<String, Object> params);
	 
 	 void setCmsContentChargeStatus(Long id, Byte status);
 	 
 	void setCmsContentChargeStatusByContentId(Long contentId, Byte status);
}